<div class="admin_left actions">
    <h3 style="font-size:20px;">Manage more</h3>
	<ul>
        <li style="list-style-type:none; margin-bottom:20%;"><?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $this->Form->value('Markdown.id')),array('class' => 'consistentButton'), null, __('Are you sure you want to delete # %s?', $this->Form->value('Markdown.id'))); ?></li>
        <li style="list-style-type:none; margin-bottom:20%;"><?php echo $this->Html->link(__('List Markdowns'), array('action' => 'index'),array('class' => 'consistentButton')); ?></li>
        <li style="list-style-type:none; margin-bottom:20%;"><?php echo $this->Html->link(__('List Items'), array('controller' => 'items', 'action' => 'index'),array('class' => 'consistentButton')); ?> </li>
        <li style="list-style-type:none; margin-bottom:20%;"><?php echo $this->Html->link(__('New Item'), array('controller' => 'items', 'action' => 'add'),array('class' => 'consistentButton')); ?> </li>
	</ul>
</div>


<?php if ($current_customer['group_id'] == 1): ?>
    <div class="admin_right markdowns form">

        <div id=breadcrumbAdmin>
            <?php $this->Html->addCrumb('Markdowns', '/Markdowns/index'); ?>
            <?php $this->Html->addCrumb('Edit', '/Markdowns/edit', array('style'=> (' text-decoration:underline; color:#EB1E70;'))); ?>
            <?php echo $this->Html->getCrumbs(' > ', array( 'text' => 'Items', 'url' => array('controller' => 'items', 'action' => 'index'), 'escape' => false)); ?>
        </div>


        <?php echo $this->Form->create('Markdown'); ?>
            <fieldset>
                <legend><?php echo __('Edit Markdown'); ?></legend>
            <?php
                echo $this->Form->input('id');
                echo $this->Form->input('markdown_price');
                echo $this->Form->input('item_id');
            ?>
            </fieldset>
        <?php echo $this->Form->end(__('Submit')); ?>
    </div>


<?php else: ?>
    <?php echo "You can't view this"; ?>
<?php endif; ?>
